package com.www.applyword.adapter;

import android.content.Context;
import android.text.TextUtils;

import com.classic.adapter.BaseAdapterHelper;
import com.classic.adapter.CommonRecyclerAdapter;
import com.www.applyword.R;
import com.www.applyword.bean.JobApplyBean;
import com.www.applyword.bean.OrderBean;

/**
 * author : huang
 * date   : 2019/10/21 0021 15:06
 * version: 1.0
 *
 * @author Administrator
 */
public class MyJobAdapter2 extends CommonRecyclerAdapter<JobApplyBean.ResultsBean> {

    public MyJobAdapter2(Context context) {
        super(context, R.layout.item_list_job);
    }


    @Override
    public void onUpdate(BaseAdapterHelper helper, JobApplyBean.ResultsBean item, int position) {
        helper.setText(R.id.tv_Order_PositionName, item.getPartJobTitle());
        // helper.setText(R.id.tv_Order_EnterpriseName, (String) item.getOrder_EnterpriseName());
        helper.setText(R.id.tv_Order_WorkAddress, item.getPartJobAddressDetail());
        //helper.(R.id.tv_Order_BusinessName, item.getAddressDetail());
        helper.setText(R.id.tv_Order_Salary, item.getSalary());


    }
}

